package com.construction.engineering.accounting.common.result;

import lombok.Data;

/**
 * 返回结果枚举
 *
 * @author liangyushijiu
 */

public enum Result {

    SUCCESS("ok", "success");

    String code;

    String msg;

    Result(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
